package com.itcast.mallapplet.service;

import com.itcast.applet.dto.RiderAmendDTO;
import com.itcast.applet.dto.RiderDTO;
import com.itcast.applet.dto.RiderLoginDTO;
import com.itcast.applet.dto.RiderOrderDTO;
import com.itcast.applet.entity.Order;
import com.itcast.applet.entity.Rider;
import com.itcast.applet.vo.RiderTaskVO;

import java.util.List;

public interface RiderService {

    //骑手登录
    Rider riderLogin(RiderLoginDTO riderLoginDTO);

    //骑手查看订单
    RiderTaskVO[] riderQuery(Long id);

    //骑手经纬度修改
    void riderAmend(RiderAmendDTO riderAmendDTO);

    //骑手完成订单
    void riderOrder(RiderOrderDTO riderOrderDTO);
}
